Post

Replies

Boosts

Views

Activity

Mac Siri Shortcut not working
Hello, Created one demo for creating task. But it does not work properly. When execute Shortcut from 2021-06-16 16:18:07.947665+0530 TestTask[28602:364855] [logging-persist] cannot open file at line 45068 of [d880193994] 2021-06-16 16:18:07.947700+0530 TestTask[28602:364855] [logging-persist] os_unix.c:45068: (0) open(/var/db/DetachedSignatures) - Undefined error: 0 Not sure, reason behind it
1
0
1.1k
Jun ’21
Xcode build fails
Xcode build fails with below reason, not sure what could be the reason. Tried all ways Set Xcode 13 as default setting as command line tools Removed derived data and and clean build Below is the error getting: failed to build module 'Accelerate'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.17.216 clang-1300.0.18.1)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.19.104 clang-1300.0.18.4)'). Please select a toolchain which matches the SDK.
2
0
1.3k
Jun ’21
MacOS - WidgetKit handle links from widget in containing app
Hello, Trying to handle custom url links from widget in Mac. It opens containing app but not any method gets called to get URL and handle action. Tried below way for handling custom url. NSAppleEventManager                 .shared()                 .setEventHandler(                     self,                     andSelector: #selector(handleURL(event:reply:)),                     forEventClass: AEEventClass(kInternetEventClass),                     andEventID: AEEventID(kAEGetURL)                 ) Above method in applicationDidFinishLaunching method, but that method not getting called. Widget has code like, struct TestMacWidgetEntryView : View {     var url = URL(fileURLWithPath: "testWid://test?abc=123")     var entry: Provider.Entry     var body: some View {         Link(destination: url) {             Text(entry.date, style: .time)         }     } } Anyone has idea how to get that url in containing app to perform action from widget links?
0
0
719
Oct ’20
WatchOS 7 Beta 2, apps not installing on watch
Hello, Facing strange issue that none of my apps installing on watch OS 7 beta 2. It only installs TestFlight apps, not apps which ware downloaded from App Store. Also apps which are installed of TestFlight, connectivity session does not work to send data between iPhone app to watch app and vice versa. Tried to reset watch 3-4 times, but same problem. Anyone else facing this issue? My watch is series 3(watchOS beta 2), iPhone X(installed iOS 14 beta 2) Thanks Hiren
16
0
3.2k
Jul ’20
suggest shortcut with multiple parameters: INVoiceShortcutCenter.shared.setShortcutSuggestions
Don't find proper way for suggesting shortcut with multiple parameters, it shows long vertical list when suggest individual shortcut with different parameter value, instead of showing horizontal list of actions as shown in video. There is log drink shortcut and it can have different drink types which it asks at run time how to suggest using INVoiceShortcutCenter.shared.setShortcutSuggestions so it shows actions like streaks app shown in video? For me it shows vertical list, individual shortcut in shortcuts app Sharing code here:             for drink in drinks {                 let logDrink = LogDrinkIntent()                 logDrink.drinkType = DrinkType(identifier: drink.drinkId!, display: drink.name!.localized)                 let shortcut = INShortcut(intent: logDrink)                 shortcuts.append(shortcut!)             }             	 INVoiceShortcutCenter.shared.setShortcutSuggestions(shortcuts)         }
0
0
661
Jun ’20